	<!-- Begin page 
	<div class="container">
		<div class="full-content-center">
			<p class="text-center"><a href="#"><img src="<?php echo(URL);?>assets/img/login-logo.png" alt="Logo"></a></p>
			<div class="login-wrap animated flipInX">
				<div class="login-block">
					<img src="<?php echo(URL);?>assets/images/users/default-user.png" class="img-circle not-logged-avatar">
						<div class="form-group login-input">
							<i class="fa fa-user overlay"></i>
							<input type="text" class="form-control text-input" id="email" placeholder="E-mail">
						</div>
						<div class="row">
							<div class="col-sm-12">
								<section>
										<p style="color:white;" id="result"></p>
									</section>
							</div>
						</div>
						<div class="row">
							<div class="col-sm-12">
								<button type="submit" onclick="javascript:enviar_contrasenya();" class="btn btn-success btn-block">RESET</button>
							</div>
						</div>
				</div>
			</div>
			
		</div>
	</div>
	<!-- the overlay modal element 
	<div class="md-overlay"></div>
	<!-- End of eoverlay modal -->
	
	
	<section class="container">
	    <section class="login-form">

		<form method="post" action="javascript:enviar_contrasenya();" role="login">
			<input type="text" class="form-control input-lg" id="email" placeholder="E-mail" required>
			<div class="row">	
				<div class="col-sm-12">
					<section>
						</br>
						<p style="color:white;" id="result"></p>
					</section>
				</div>
			</div>
			<button type="submit" class="btn btn-success btn-block">Resetejar</button>
		</form>
		<section>
		</section>
		</section>
	</section>
	
	
	
	<script>

	function enviar_contrasenya(){
		var email = $("#email").val();
		$.ajax({
	        type: "post",
	        data:{mail:email},
	        url: url_base+"mail-reset-contrasenya",
	        success: function(data){
		        var data = jQuery.parseJSON(data);
		        $("#result").html("");
		        $("#result").html(data);
	        }
	    });
		
	}
	
		




	
	


	</script>
							